<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>【工具分享】运营素材库提升创作效率</title>
    
    <script src="../js/html2canvas.min.js"></script>
</head>
<body style="margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background-color: #f8f9fa; color: #333; line-height: 1.7; padding: 15px; max-width: 680px; margin: 0 auto; -webkit-font-smoothing: antialiased; position: relative;">
    
    <div style="position: fixed; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 1000;">
        <button id="fontIncrease" style="background: #1890ff; color: white; border: none; border-radius: 20px; padding: 10px 15px; font-size: 14px; cursor: pointer; box-shadow: 0 3px 10px rgba(24, 144, 255, 0.3); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-width: 120px;">文字放大</button>
        <button id="fontDecrease" style="background: #1890ff; color: white; border: none; border-radius: 20px; padding: 10px 15px; font-size: 14px; cursor: pointer; box-shadow: 0 3px 10px rgba(24, 144, 255, 0.3); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-width: 120px;">文字缩小</button>
        <button id="saveImage" style="background: #52c41a; color: white; border: none; border-radius: 20px; padding: 10px 15px; font-size: 14px; cursor: pointer; box-shadow: 0 3px 10px rgba(82, 196, 26, 0.3); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-width: 120px;">保存长图</button>
    </div>

    <div class="article-container" contenteditable="true" style="background-color: white; border-radius: 12px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); overflow: hidden; margin-bottom: 30px; transition: transform 0.3s ease; animation: fadeIn 0.6s ease-out;">
        
        <div style="position: absolute; width: 100px; height: 100px; opacity: 0.03; z-index: 0; top: 20px; right: 20px; background: #1890ff; border-radius: 50%;"></div>
        <div style="position: absolute; width: 100px; height: 100px; opacity: 0.03; z-index: 0; bottom: 40px; left: 30px; background: #52c41a; clip-path: polygon(50% 0%, 0% 100%, 100% 100%);"></div>
        
        
        <div style="padding: 30px 25px 20px; text-align: center; background: linear-gradient(135deg, #e6f7ff 0%, #f0fdff 100%); position: relative;">
            <div style="content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, #69c0ff, transparent);"></div>
            <h1 style="font-size: 24px; font-weight: 700; margin-bottom: 15px; line-height: 1.4; color: #0050b3; text-shadow: 0 1px 2px rgba(0,0,0,0.05);">【工具分享】运营素材库提升创作效率</h1>
            <p style="font-size: 16px; color: #096dd9; margin-bottom: 20px; font-weight: 400;">告别素材混乱，一站式解决内容创作难题</p>
        </div>
        
        <div style="padding: 30px 25px;">
            
            <div style="background: linear-gradient(120deg, #e6f7ff 0%, #f0fdff 100%); border-left: 4px solid #1890ff; padding: 20px; margin-bottom: 30px; font-size: 16px; border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(24, 144, 255, 0.08); position: relative;">
                <div style="content: ''; position: absolute; top: 10px; left: 15px; font-family: serif; font-size: 50px; color: #1890ff; opacity: 0.2;">"</div>
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">你是否曾经为了找一个合适的图标而翻遍整个电脑？是否因为排版不美观而反复修改内容？运营素材库正是为解决这些问题而生，让内容创作变得高效而愉悦。</p>
            </div>
            
            
            <div style="margin-bottom: 35px;">
                <h2 style="font-size: 20px; margin-bottom: 18px; color: #0050b3; padding-bottom: 10px; border-bottom: 2px solid #e6f7ff; position: relative;">
                    <div style="content: ''; position: absolute; bottom: -2px; left: 0; width: 80px; height: 2px; background: #1890ff;"></div>
                    一、什么是运营素材库？
                </h2>
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">运营素材库是一款为内容创作者提供全方位支持的素材管理与创作辅助平台。这里汇聚了丰富多样的素材资源，数字标号、分割符号等能满足内容排版的精细需求；文字边框、区块工具可助力创作者打造独具风格的内容版式。</p>
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">同时，还配备运营笔记、运营指南等实用模板，以及情感、知识、科普等多类通用模板，覆盖不同创作场景，让创作者能便捷取用素材、参考模板，高效产出优质内容。</p>
                
                <div style="background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 6px; padding: 15px; margin: 20px 0; position: relative;">
                    <div style="content: ''; position: absolute; left: 15px; top: 15px; font-size: 18px;">✨</div>
                    <div style="margin-left: 30px;">
                        <strong>核心价值：</strong>一站式解决内容创作者的素材管理、排版设计和模板参考需求，大幅提升创作效率。
                    </div>
                </div>
            </div>
            
            <div style="margin-bottom: 35px;">
                <h2 style="font-size: 20px; margin-bottom: 18px; color: #0050b3; padding-bottom: 10px; border-bottom: 2px solid #e6f7ff; position: relative;">
                    <div style="content: ''; position: absolute; bottom: -2px; left: 0; width: 80px; height: 2px; background: #1890ff;"></div>
                    二、运营素材库的核心功能
                </h2>
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">1. <strong>丰富的素材资源库</strong>：涵盖图标、分割线、数字标号等各类排版元素，满足精细化排版需求。</p>
                
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">2. <strong>专业的版式设计工具</strong>：提供文字边框、区块工具等功能，帮助创作者打造专业美观的内容版式。</p>
                
                <div style="background: linear-gradient(120deg, #fff7e6 0%, #fffbf5 100%); padding: 18px 20px; border-left: 4px solid #ffa940; margin: 20px 0; font-size: 15px; border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(255, 169, 64, 0.1);">
                    <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">设计理念：好的版式设计不仅提升内容可读性，还能增强品牌识别度和专业感。</p>
                </div>
                
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">3. <strong>实用的内容模板</strong>：包含运营笔记、运营指南等专业模板，以及情感、知识、科普等多领域通用模板。</p>
                
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">4. <strong>场景化内容支持</strong>：针对不同创作场景提供针对性素材和模板，让内容创作更加精准高效。</p>
                
            </div>
            
            <div style="margin-bottom: 35px;">
                <h2 style="font-size: 20px; margin-bottom: 18px; color: #0050b3; padding-bottom: 10px; border-bottom: 2px solid #e6f7ff; position: relative;">
                    <div style="content: ''; position: absolute; bottom: -2px; left: 0; width: 80px; height: 2px; background: #1890ff;"></div>
                    三、使用运营素材库的五大优势
                </h2>
                
                <ul style="margin: 20px 0; padding-left: 0;">
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        大幅减少寻找素材的时间，提升创作效率
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        专业设计的模板和版式，提升内容质量
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        统一的设计风格，增强品牌一致性
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        覆盖多种场景，满足不同内容创作需求
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        持续更新的资源库，紧跟设计趋势
                    </li>
                </ul>
                
                <div style="background: linear-gradient(120deg, #fff7e6 0%, #fffbf5 100%); padding: 18px 20px; border-left: 4px solid #ffa940; margin: 20px 0; font-size: 15px; border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(255, 169, 64, 0.1);">
                    <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">效率提升：据用户反馈，使用运营素材库后，内容创作时间平均缩短40%，同时内容质量显著提升。</p>
                </div>
            </div>
            
            <div style="margin-bottom: 35px;">
                <h2 style="font-size: 20px; margin-bottom: 18px; color: #0050b3; padding-bottom: 10px; border-bottom: 2px solid #e6f7ff; position: relative;">
                    <div style="content: ''; position: absolute; bottom: -2px; left: 0; width: 80px; height: 2px; background: #1890ff;"></div>
                    四、适用人群与场景
                </h2>
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">运营素材库特别适合以下人群：</p>
                
                <ul style="margin: 20px 0; padding-left: 0;">
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        新媒体运营人员
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        内容创作者和博主
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        市场营销人员
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        企业品牌宣传人员
                    </li>
                    <li style="margin-bottom: 10px; position: relative; padding-left: 30px; list-style-type: none;">
                        <div style="content: ''; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 16px; background: #f6ffed; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">✓</div>
                        需要频繁制作内容的个人或团队
                    </li>
                </ul>
                
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">无论是日常推文、活动海报、产品介绍还是品牌宣传，运营素材库都能提供合适的素材和模板支持。</p>
                
                <div style="background: linear-gradient(120deg, #f0f7ff 0%, #f8fdff 100%); padding: 20px; border-radius: 8px; margin: 20px 0; border-left: 4px solid #1890ff;">
                    <h3 style="color: #1890ff; margin-bottom: 15px; font-size: 18px;">素材库核心价值</h3>
                    <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">运营素材库是一款为内容创作者提供全方位支持的素材管理与创作辅助平台。这里汇聚了丰富多样的素材资源，数字标号、分割符号等能满足内容排版的精细需求；文字边框、区块工具可助力创作者打造独具风格的内容版式。同时，还配备运营笔记、运营指南等实用模板，以及情感、知识、科普等多类通用模板，覆盖不同创作场景，让创作者能便捷取用素材、参考模板，高效产出优质内容。</p>
                </div>
            </div>
        </div>
        
        
        <div style="padding: 30px 25px; background: linear-gradient(135deg, #f0f5ff 0%, #f6fffc 100%); border-top: 1px solid #e8e8e8; text-align: center; position: relative;">
            <div style="content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: linear-gradient(to right, #1890ff, #52c41a); border-radius: 0 0 3px 3px;"></div>
            <div style="margin-bottom: 25px; font-size: 16px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);">
                <p style="margin-bottom: 18px; text-align: justify; font-size: 16px; color: #444;">好的工具能让创作事半功倍。运营素材库通过提供丰富的素材资源和专业的设计模板，帮助内容创作者提升效率、保证质量，让创意更好地落地实现。</p>
            </div>
            
            <div style="margin-top: 30px; padding-top: 25px; border-top: 1px dashed #d9d9d9; background: white; padding: 25px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);">
                <div style="display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;">
                    <div style="width: 140px; height: 140px; background: linear-gradient(135deg, #f0f2f5 0%, #e8e8e8 100%); display: flex; align-items: center; justify-content: center; color: #8c8c8c; border-radius: 8px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); font-size: 14px;">
                         <img src="" style="width:100%;" />
                    </div>
                    <div style="text-align: left; max-width: 300px;">
                        <h3 style="font-size: 18px; margin-bottom: 10px; color: #1a1a1a;">运营工具箱</h3>
                        <p style="font-size: 14px; color: #666; margin-bottom: 8px;">专注提升运营效率与内容质量</p>
                        <p style="font-size: 14px; color: #666; margin-bottom: 8px;">每周分享实用工具与运营技巧</p>
                    </div>
                </div>
                <p style="font-size: 14px; color: #8c8c8c; margin-top: 15px;">长按识别二维码，获取更多运营干货与工具推荐</p>
            </div>
        </div>
    </div>

    <script>
        let currentFontSize = 16;
        const minFontSize = 12;
        const maxFontSize = 24;
        
        document.getElementById('fontIncrease').addEventListener('click', function() {
            if (currentFontSize < maxFontSize) {
                currentFontSize += 1;
                updateFontSize();
                showMessage(`文字已放大: ${currentFontSize}px`);
            } else {
                showMessage('文字已放大到最大值');
            }
        });
        
        document.getElementById('fontDecrease').addEventListener('click', function() {
            if (currentFontSize > minFontSize) {
                currentFontSize -= 1;
                updateFontSize();
                showMessage(`文字已缩小: ${currentFontSize}px`);
            } else {
                showMessage('文字已缩小到最小值');
            }
        });
        
        function updateFontSize() {
            const contentElements = document.querySelectorAll('p, li');
            contentElements.forEach(element => {
                element.style.fontSize = `${currentFontSize}px`;
            });
        }
        
        document.getElementById('saveImage').addEventListener('click', function() {
            const button = this;
            const originalText = button.textContent;
            button.textContent = '生成中...';
            button.disabled = true;
            
            html2canvas(document.querySelector('.article-container'), {
                scale: 2,
                useCORS: true,
                scrollY: -window.scrollY
            }).then(canvas => {
                const imageURL = canvas.toDataURL('image/png');
                const downloadLink = document.createElement('a');
                downloadLink.href = imageURL;
                downloadLink.download = '运营素材库工具分享.png';
                document.body.appendChild(downloadLink);
                downloadLink.click();
                document.body.removeChild(downloadLink);
                
                button.textContent = originalText;
                button.disabled = false;
                showMessage('长图已保存，请查看下载文件夹');
            }).catch(error => {
                console.error('保存长图失败:', error);
                button.textContent = originalText;
                button.disabled = false;
                showMessage('保存失败，请重试');
            });
        });
        
        function showMessage(message) {
            const existingMessage = document.querySelector('.message-toast');
            if (existingMessage) {
                existingMessage.remove();
            }
            
            const messageElement = document.createElement('div');
            messageElement.className = 'message-toast';
            messageElement.textContent = message;
            messageElement.style.cssText = 'position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.8); color: white; padding: 10px 20px; border-radius: 20px; z-index: 10000; font-size: 14px; transition: opacity 0.3s;';
            
            document.body.appendChild(messageElement);
            
            setTimeout(() => {
                messageElement.style.opacity = '0';
                setTimeout(() => {
                    if (messageElement.parentNode) {
                        messageElement.parentNode.removeChild(messageElement);
                    }
                }, 300);
            }, 3000);
        }
        
        document.addEventListener('DOMContentLoaded', function() {
            const images = document.querySelectorAll('img');
            images.forEach(img => {
                img.addEventListener('load', function() {
                    this.style.opacity = 1;
                });
                img.style.opacity = 0;
                img.style.transition = 'opacity 0.5s ease';
            });
            
            const listItems = document.querySelectorAll('li');
            listItems.forEach(item => {
                item.addEventListener('click', function() {
                    this.style.backgroundColor = '#f0f5ff';
                    setTimeout(() => {
                        this.style.backgroundColor = '';
                    }, 500);
                });
            });
        });
    </script>
    
    <style>
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        ::selection {
            background: rgba(24, 144, 255, 0.2);
            color: #000;
        }
        
        @media (max-width: 580px) {
            h1 {
                font-size: 22px !important;
            }
            
            h2 {
                font-size: 18px !important;
            }
            
            div:nth-child(4), div:nth-child(5) {
                padding: 20px 15px !important;
            }
            
            div:nth-child(5) > div:nth-child(2) > div:nth-child(1) {
                flex-direction: column !important;
                text-align: center !important;
            }
            
            div:nth-child(5) > div:nth-child(2) > div:nth-child(1) > div:nth-child(2) {
                text-align: center !important;
            }
            
            div:nth-child(2) {
                right: 10px !important;
            }
            
            div:nth-child(2) > button {
                min-width: 100px !important;
                padding: 8px 12px !important;
                font-size: 13px !important;
            }
        }
    </style>
</body>
</html>